package com.gaohe.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 店铺表
 * </p>
 *
 * @author xiaoshuai
 * @since 2025-10-11
 */
@Data
@TableName("stad_shopkeeper")
public class Shopkeeper implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("shopkeeper_id")
    private Long shopkeeperId;

    /**
     * 店铺名
     */
    private String shopkeeperName;

    /**
     * 店主id
     */
    private Long userId;

    /**
     * 店主名
     */
    private String username;

    /**
     * 等级
     */
    private String levels;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT)
    private String createBy;

    /**
     * 修改人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    /**
     * 备注
     */
    private String remark;

    /**
     * 是否删除
     */
    private Integer isDeleted;

    /**
     * 店铺头像
     */
    private String head;
}
